﻿<!--
//********************************************************************************//
//创建日期：<创建日期，2016-03-15>
//创建作者：<郭登杰，guodengjie@shanghai3h.com>
//功能说明：发票领用
//********************************************************************************//
    -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../../JS/layui/css/layui.css" rel="stylesheet" />
    <script src="../../../JS/layui/layui.js"></script>
    <link href="../../../css/main.css" rel="stylesheet" />
    <script src="../../../JS/AddEditCancel.js"></script>
    <script src="../../../PageJS/common.verify.js"></script>
    <script defer src="../../../PageJS/common.js"></script>
    <script defer src="../../../PageJS/YSZW/FaPiaoLY.js"></script>
</head>
<body>
    <form class="layui-form">
        <div id="divContent" style="width:98%;margin:auto">
            <div class="tabletitle1" align="center" style="height:23px">
                发票领用
            </div>
            <div class="layui-tab">
                <ul class="layui-tab-title">
                    <li class="layui-this">待领用</li>
                    <li>已领用</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <table id="ContentList" class="layui-table">
                            <thead>
                                <tr>
                                    <th style="width: 10%;text-align:center">入库数目</th>
                                    <th style="width: 15%; text-align: center">开始号码</th>
                                    <th style="width: 15%; text-align: center">截止号码</th>
                                    <th style="width: 10%; text-align: center">已领用数目</th>
                                    <th style="width: 10%; text-align: center">剩余数目</th>
                                    <th style="width: 10%; text-align: center">入库日期</th>
                                    <th style="width: 10%; text-align: center">入库人</th>
                                    <th style="width: 10%; text-align: center">
                                        <button id="btnRefresh1" class="layui-btn layui-btn-primary" type="button">刷新</button>
                                    </th>
                                </tr>
                            </thead>
                        </table>
                        <table id="ItemStr" style="display: none">
                            <tr class="datarow" style="cursor:pointer" vid="objid">
                                <td style="text-align:center">objCount</td>
                                <td style="text-align:center">objStart</td>
                                <td style="text-align:center">objEnd</td>
                                <td style="text-align:center">objUse</td>
                                <td style="text-align:center">objRemain</td>
                                <td style="text-align:center">objTime</td>
                                <td style="text-align:center">objUser</td>
                                <td style="text-align:center"></td>
                            </tr>
                        </table>
                        <fieldset class="layui-elem-field">
                            <legend>库存明细</legend>
                            <div class="layui-field-box">
                                <table id="ContentList3" class="layui-table">
                                    <thead>
                                        <tr>
                                            <th style="width: 10%;text-align:center">分段数目</th>
                                            <th style="width: 20%; text-align: center">开始号码</th>
                                            <th style="width: 20%; text-align: center">截止号码</th>
                                            <th style="width: 20%; text-align: center">说明</th>
                                            <th style="width: 15%; text-align: center">生成日期</th>
                                            <th style="width: 15%; text-align: center">操作人</th>
                                        </tr>
                                    </thead>
                                </table>
                                <table id="ItemStr3" style="display: none">
                                    <tr class="datarow" style="cursor:pointer" vid="objid">
                                        <td style="text-align:center">objCount</td>
                                        <td style="text-align:center">objStart</td>
                                        <td style="text-align:center">objEnd</td>
                                        <td style="text-align:center">objDesc</td>
                                        <td style="text-align:center">objTime</td>
                                        <td style="text-align:center">objOperator</td>
                                    </tr>
                                </table>
                            </div>
                        </fieldset>
                        <fieldset class="layui-elem-field">
                            <legend>领用信息输入</legend>
                            <div class="layui-field-box">
                                <div class="layui-form-item">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">管理部门</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <select id="eZhanDian" lay-filter="zd" lay-search>
                                                <option value=""></option>
                                            </select>
                                        </div>
                                        <label class="layui-form-label">管理块</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <select id="eGuanLiK">
                                                <option value=""></option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">开始号码</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <input type="text" id="eStartNo" autocomplete="off" class="layui-input" style="ime-mode:Disabled" onkeydown="return onlyNum();" onkeypress="    onKeyNext('eCount')">
                                        </div>
                                        <label class="layui-form-label">截止号码</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <input type="text" id="eEndNo" autocomplete="off" class="layui-input">
                                        </div>
                                        <label class="layui-form-label">领用数目</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <input type="text" id="eCount" autocomplete="off" class="layui-input" style="ime-mode:Disabled" onkeydown="return onlyNum();" onkeypress="    onKeyNext('eTime')">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">领用日期</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <input id="eTime" class="layui-input" onclick="layui.laydate({ elem: this, festival: true })" onkeypress="    onKeyNext('eUser')" />
                                        </div>
                                        <label class="layui-form-label">领用人</label>
                                        <div class="layui-input-inline" style="width: 150px;">
                                            <input type="text" id="eUser" autocomplete="off" class="layui-input" onkeypress="onKeyNext('btnSave')">
                                        </div>
                                        <label class="layui-form-label"><button id="btnSave" class="layui-btn layui-btn-primary" type="button">提交</button></label>
                                    </div>
                                </div>
                            </div>
                        </fieldset>
                        <label id="ObjId" vid="0"></label>
                        <label id="ObjCount" vid="0"></label>
                        
                    </div>
                    <div class="layui-tab-item">
                        <table id="ContentList2" class="layui-table">
                            <thead>
                                <tr>
                                    <th style="width: 8%;text-align:center">管理部门</th>
                                    <th style="width: 8%; text-align: center">管理块</th>
                                    <th style="width: 8%; text-align: center">领用人</th>
                                    <th style="width: 8%; text-align: center">领用数量</th>
                                    <th style="width: 8%; text-align: center">开始号码</th>
                                    <th style="width: 8%; text-align: center">截止号码</th>
                                    <th style="width: 8%; text-align: center">使用数量</th>
                                    <th style="width: 8%;text-align: center">当前号码</th>
                                    <th style="width: 8%; text-align: center">剩余数量</th>
                                    <th style="width: 8%; text-align: center">领用日期</th>
                                    <th style="width: 8%; text-align: center">操作人</th>
                                    <th style="text-align: center"></th>
                                </tr>
                            </thead>
                        </table>

                        <table id="ItemStr2" style="display: none">
                            <tr class="datarow" vid="objid">
                                <td style="text-align:center">objZhanDian</td>
                                <td style="text-align:center">objGuanLiK</td>
                                <td style="text-align:center">objReceiver</td>
                                <td style="text-align:center">objReceiveCount</td>
                                <td style="text-align:center">objStartNo</td>
                                <td style="text-align:center">objEndNo</td>
                                <td style="text-align:center">objUsedCount</td>
                                <td style="text-align:center">objRemainStartNo</td>
                                <td style="text-align:center">objRemainCount</td>
                                <td style="text-align:center">objReceiveTime</td>
                                <td style="text-align:center">objOperator</td>
                                <td style="text-align:center"><button vid="objid" class="aQXLY layui-btn layui-btn-primary" type="button">取消领用</button></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>

        </div>
    </form>
</body>
</html>
